/*function toUpdateDinnertable(table_id) {
    location.href = "/toUpdateDinnertable/" + table_id;
}

function updateDinnertable() {
    var table_id = $("#table_id").val();
    var table_name = $("#table_name").val();
    var table_status = $("#table_status").val();
    var order_date = $("#order_date").val();
    var param = {
        "table_id" : table_id,
        "table_name" : table_name,
        "table_status" : table_status,
        "order_date" : order_date
    }

    $.ajax({
        url : "/updateDinnertable",
        type : "POST",
        contentType : "application/json",
        dataType : "json",
        data : JSON.stringify(param),
        success : function(data) {
            alert("修改成功!");
            location.href = "/showAllDinnertable";
        }
    });
}*/